<?php
session_start();
require_once( 'path.php' );
require_once( SOJ_ROOT.'/include/function/lib.php' );

$tpl = new my_smarty();

if( !empty($_SESSION['username']) ){

	$tpl->assign( 'username' , $_SESSION['username'] );
} 

//处理由本页面保存在会话中的错误信息
if( !empty($_SESSION['errors']) ){

	$tpl->assign( 'errors' , $_SESSION['errors']  );
	//清除之前的错误信息
	unset( $_SESSION['errors'] );
}

$tpl->display('change_user_password.tpl');
